package cn.sanch.product.service;

import cn.sanch.product.domain.Product;
import cn.sanch.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sanch
 * @since 2022-06-20
 */
public interface IProductService extends IBaseService<Product> {

    /**
     * 服务批量上架
     * @param ids
     * @param request
     */
    void onsale(Long[] ids, HttpServletRequest request);


    /**
     * 服务批量下架
     * @param ids
     */
    void offsale(Long[] ids);
}
